#ifndef __CONTROL_H__
#define __CONTROL_H__

#include <cairo-aliases.h>
#include <shape.h>
#include <position.h>

class Control : public Position
{
	private:
	bool over (double);

	public:
	double size;
	bool pressed;

	Control (double x = 0.0, double y = 0.0, double size = 6.0) : Position (x, y), size (size), pressed (false) {};

	void draw (CairoContext *, Shape = BOX);
};

#endif // __CONTROL_H__
